<div id="ranklist">
<table>
	<caption>The Soj Rank list</caption>
	<tr>
	<th class="rank">Rank</th>
	<th class="username">User name</th>
	<th class="nick">Nick</th>
	<th>Motto</th>
	<th>Submit</th>
	<th>Ac</th>
	</tr>
	
	{?* 设置一个指示变量,用来生成条文表格 *?}
	{? assign var=spec value=0 ?}
	{? if $ranklist|@is_array ?}

		{? foreach key=key item=item from=$ranklist ?}
			{? assign var=spec value=$spec+1 ?}

			<tr {? if $spec%2 eq 0 ?} class="spec" {? /if ?}>

				{? foreach key=key item=item from=$item ?}
				
					<td>{? $item ?}</td >
				
				{? /foreach ?}
			
			</tr > 

		{? /foreach ?}

	{? /if ?}

</table>
<div id="pager">
	
	{? $links ?}

</div>
</div>
